package com.product.service;

import com.qfedu.mbg.model.*;
import com.qfedu.mbg.model.Process;

import java.util.List;
import java.util.Map;


public interface ProductService {
    List<ProductList> selectProductByCondition(Map<String,Object> map);

    Integer deleteByExample(Integer productId);

    Integer insert(ProductTable productTable);

    Integer edit(ProductTable productTable);

    craftProcess craftProcessShow(Integer productId);

    List<ProcessFlow> craftProcessList();

    List<Process> structureList();

    List<EquipmentLedger> equipmentList();

    List<Materials> materialsList();

    List<Ingredients> ingredientsList();

    List<Cutter> cutterList();

    Integer equipmentAdd(EquipmentLedger equipmentLedger);

    Integer materialsAdd(Materials materials);

    Integer ingredientsAdd(Ingredients ingredients);

    Integer cutterAdd(Cutter cutter);
}
